<html>
<head>
	<title>Post Test</title>
</head>
<body>

<form method="POST" action="http://localhost:8080/freemarker/posttest.ftl">
<input type="hidden" name="post1" value="test1"/>
<input type="hidden" name="post2" value="test2 asdf"/>
<input type="hidden" name="post3" value="test3 fdsa"/>
<input type="hidden" name="post4" value="test4 test test test"/>
<input type="hidden" name="post5" value="test5 bleah post grabble data blat."/>
<input type="submit" value="Test Post"/>
</form>

<#if http_vars??>
    <i>POST successful.</i><p/>
    post1 = ${http_vars.getPostVariable("post1")}<br/>
    post2 = ${http_vars.getPostVariable("post2")}<br/>
    post3 = ${http_vars.getPostVariable("post3")}<br/>
    post4 = ${http_vars.getPostVariable("post4")}<br/>
    post5 = ${http_vars.getPostVariable("post5")}
<#else>
    <i>No previous POST data has been sent.<i>
</#if>

</body>
</html>
